<?php

/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Seaocore
 * @copyright  Copyright 2010-2011 BigStep Technologies Pvt. Ltd.
 * @license    http://www.socialengineaddons.com/license/
 * @version    $Id: content.php 2011-09-26 9:40:21Z SocialEngineAddOns $
 * @author     SocialEngineAddOns
 */
$view = Zend_Registry::isRegistered('Zend_View') ? Zend_Registry::get('Zend_View') : null;
$content_array= array(
    array(
        'title' => $view->translate('Photos Lightbox Viewer'),
        'description' => $view->translate('This widget displays the lightbox on your site. It is recommended to not to remove this widget from the header.'),
        'category' => 'SocialEngineAddOns-Core',
        'type' => 'widget',
        'name' => 'seaocore.seaocores-lightbox',
        'adminForm' => array(
        'elements' => array(
         array(
           'hidden',
           'title',
           array(
             'label' => ''
           )
         ),
         array(
           'hidden',
           'nomobile',
           array(
             'label' => ''
           )
         ),
         array(
           'hidden',
           'execute',
           array(
             'label' => ''
           )
         ),
         array(
           'hidden',
           'cancel',
           array(
             'label' => ''
           )
         ),
       )
     ),
    ),
     array(
    'title' => $view->translate('SocialEngineAddOns Comments'),
    'description' => $view->translate('Shows the comments about an item.'),
    'category' => 'SocialEngineAddOns-Core',
    'type' => 'widget',
    'name' => 'seaocore.seaocores-comments',
    'defaultParams' => array(
    'title' => 'Comments'
    ),
    'requirements' => array(
      'subject',
    ),
  ),
  );
//if(!Engine_Api::_()->getDbtable('modules', 'core')->isModuleEnabled('advancedactivity')){
$content_array[]=array(
        'title' => $view->translate('SocialEngineAddOns Activity Feed'),
        'description' => $view->translate('Displays the activity feed.'),
        'category' => 'SocialEngineAddOns-Core',
        'type' => 'widget',
        'name' => 'seaocore.feed',
        'defaultParams' => array(
            'title' => 'What\'s New',
        ),
    );
//}
    return $content_array;
?>


